Jump to content

User:Technical 13/Scripts/admin eye

From Wikipedia, the free encyclopedia
Browser/skin compatibility table
Browser\Skin Vector MonoBook Modern Cologne Blue
Chrome 29 untested untested untested untested
FireFox 23 untested untested untested untested
IE 7 untested untested untested untested
Opera 12.16 untested untested untested untested
Opera 16 untested untested untested untested
Safari 5 untested untested untested untested
admin eye
Author(s)Technical 13
StatusStable
UpdatedSeptember 7, 2018
    (6 years ago)
BrowsersFirefox 24
SkinsVector
SourceUser:Technical 13/Scripts/admin eye.js

This script adds a link that will toggle all sections with class="admin-show" which are designed for notes hidden on page for administrators to remind them of the process in completing tasks. The link for this will be under the More tab and will look like O.o for initial mode, O.O for admin view, and o.o for non-admin view. Most users do no need this ability to see these instructions, unless of course you happen to be a template or script coder and are working on a script to help administrators do their tasks. If that is the case, than short of making those messages always on (there is really nothing special to see and they often clutter the screen), this script is invaluable to be able to toggle back and forth and see both.

This script also has an access key of Alt+⇧ Shift+A so you can toggle the modes in the middle of the page.

[[?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug |?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug]] [[?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature |?title=User_talk:Technical_13/Scripts/admin_eye&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature]]

Using this script

[edit]

On the English Wikipedia

[edit]

This script can be imported to your common.js by adding:

importScript( 'User:Technical 13/Scripts/admin_eye.js' );// [[User:Technical 13/Scripts/admin_eye]]

Step two

[edit]

Once you have saved the above to your common.js, you will have to WP:BYPASS your cache to see the effects.